package com.leadership.api.handler;

import java.io.File;

/**
 * 
 * @author houtao
 * 
 */
public interface MailHandler {
    
    /**
     * send one email
     * 
     * @param email
     * @param subject
     * @param text
     */
    public void sendEmail(String email, String subject, String text);
    
    /**
     * @param email
     * @param subject
     * @param text
     * @param attachment
     */
    public void sendEmail(String email, String subject, String text, File attachment);
    
}